const moduleA = {

    state:() => ({
                    countA:15
            }),
            getters:{
                doubleCountA:(state) => {
                    return state.countA * 2
                }
            },
            mutations:{
                incrementA(state){
                    state.countA++
                }
            },
            actions:{
                asyncIncrementA({commit}){
                   commit('incrementA')
                }
            }
        }

export default moduleA